<template>
    <div>
      <h1>Element Page</h1>
      <el-button type="primary" @click="handleClick">点击</el-button>
      <el-input v-model="inputValue" placeholder="Type something here"></el-input>
      <p>You typed: {{ inputValue }}</p>
    </div>
    
  </template>
  
  <script>
  import { ElButton, ElInput } from 'element-plus';
  
  export default {
        name: 'ElementPage',
        components: {
        ElButton,
        ElInput
    },
    data() {
        return {
        inputValue: '' // 用于绑定输入框的值
        };
    },
    methods: {
        handleClick() {
        alert('Button clicked!');
        }
    }
  };
  </script>
  